-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(compiler): Drop support for the deprecated <template>
. Use…
#22783
Conversation
You can preview 2dd50aa at https://pr22783-2dd50aa.ngbuilds.io/. |
You can preview 97afe9b at https://pr22783-97afe9b.ngbuilds.io/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No language service change needed.
… `<ng-template>` instead BREAKING CHANGE: The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when using Web Components). This commit removes support for `<template>`. `<ng-template>` should be used instead. BEFORE: <!-- html template --> <template>some template content</template> # tsconfig.json { # ... "angularCompilerOptions": { # ... # This option is no more supported and will have no effect "enableLegacyTemplate": [true|false] } } AFTER: <!-- html template --> <ng-template>some template content</ng-template>
You can preview aa21409 at https://pr22783-aa21409.ngbuilds.io/. |
http://test/OCL:189201059:BASE:189225273:1521141098042:c61b3e47 |
… `<ng-template>` instead (angular#22783) BREAKING CHANGE: The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when using Web Components). This commit removes support for `<template>`. `<ng-template>` should be used instead. BEFORE: <!-- html template --> <template>some template content</template> # tsconfig.json { # ... "angularCompilerOptions": { # ... # This option is no more supported and will have no effect "enableLegacyTemplate": [true|false] } } AFTER: <!-- html template --> <ng-template>some template content</ng-template> PR Close angular#22783
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…
<ng-template>
insteadBREAKING CHANGE:
The
<template>
tag was deprecated in Angular v4 to avoid collisions (i.e. whenusing Web Components).
This commit removes support for
<template>
.<ng-template>
should be usedinstead.
BEFORE:
AFTER:
fixes #22777